package com.CST.mapper.cst;

import com.CST.dto.DateDTO;
import com.CST.entity.BaseCost;
import com.CST.entity.CostDataInfo;
import com.CST.entity.EtlAcSalary;
import com.CST.vo.SalaryDetailByAccIdVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *成本-薪酬项目
 * @author xnd
 * @since 2022-01-13
 */
@Repository
public interface EtlAcSalaryMapper extends BaseMapper<EtlAcSalary> {

    List<EtlAcSalary> getSalarySource(EtlAcSalary entity);

    /**
     * 成本-薪酬-人员经费采集
     */
    List<BaseCost> listBaseCostWithSalary(CostDataInfo costDataInfo);
    List<BaseCost> listBaseCostWithSalaryDEL(CostDataInfo costDataInfo);
    /**
     * 成本-薪酬-人员经费冲抵
     */
    List<BaseCost> listBaseCostWithOffset(CostDataInfo costDataInfo);

}
